package com.wuxiaofan.product.mapper;
import org.springframework.stereotype.Component;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wuxiaofan.product.entity.SpuComment;
import com.wuxiaofan.product.entity.custom.SpuCommentCustom;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

/**
 *商品评价
 */
@Component
public interface SpuCommentMapper extends BaseMapper<SpuComment> {
    public List<SpuCommentCustom> findByMap(@Param("map") Map paraMap, Page page);

    public List<SpuCommentCustom> findByMap(@Param("map") Map paraMap);

    public SpuCommentCustom findCountByMap(@Param("map") Map paraMap);

    public SpuCommentCustom findGroupByMap(@Param("map") Map paraMap);


    public void updateMapById(@Param("map") Map paraMap);
}
